<script setup>
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup
import { ref } from "vue";
import { NMessageProvider, useThemeVars, NDialogProvider } from "naive-ui";
import store from "@/store";
const themeVars = useThemeVars();
themeVars.value.primaryColor = "#27ba9b";
</script>

<template>
  <n-message-provider>
    <n-dialog-provider>
      <router-view></router-view>
    </n-dialog-provider>
  </n-message-provider>
</template>

<style lang="less">
@import url("@/styles/common.less");
.v-enter-from {
  opacity: 0;
}
.v-enter-active {
  transition: all 2s;
}
.v-enter-to {
  opacity: 1;
}
</style>
